<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改huanlist')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-huanlist-edit" th:object="${cityTrackList}">
            <input name="no" th:field="*{no}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">横坐标：</label>
                <div class="col-sm-8">
                    <input name="city" th:field="*{city}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">城区面积：</label>
                <div class="col-sm-8">
                    <input name="citySize" th:field="*{citySize}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">城区总人口：</label>
                <div class="col-sm-8">
                    <input name="totalPopulation" th:field="*{totalPopulation}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">建成区面积：</label>
                <div class="col-sm-8">
                    <input name="builtUpArea" th:field="*{builtUpArea}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">轨道里程：</label>
                <div class="col-sm-8">
                    <input name="trackMileage" th:field="*{trackMileage}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">运营线数：</label>
                <div class="col-sm-8">
                    <input name="operationLines" th:field="*{operationLines}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">站数：</label>
                <div class="col-sm-8">
                    <input name="numberOfStation" th:field="*{numberOfStation}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">换乘站数：</label>
                <div class="col-sm-8">
                    <input name="numberOfTransfer" th:field="*{numberOfTransfer}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">纵坐标：</label>
                <div class="col-sm-8">
                    <input name="passengerFlow2018" th:field="*{passengerFlow2018}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">2018年日均客流：</label>
                <div class="col-sm-8">
                    <input name="dailyFlow2018" th:field="*{dailyFlow2018}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">图示位置：</label>
                <div class="col-sm-8">
                    <input name="localid" th:field="*{localid}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">图示类型：</label>
                <div class="col-sm-8">
                    <input name="typeid" th:field="*{typeid}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">算法总体数据：</label>
                <div class="col-sm-8">
                    <input name="diagid" th:field="*{diagid}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "demo/huanlist";
        $("#form-huanlist-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-huanlist-edit').serialize());
            }
        }
    </script>
</body>
</html>